Repetier-Firmware  1.0.0
Commands Class Reference

#include <Commands.h>

Static Public Member Functions

static void commandLoop ()
 
static void checkForPeriodicalActions (bool allowNewMoves)
 
static void processArc (GCode *com)
 Execute the Arc command stored in com. More...
 
static void processGCode (GCode *com)
 Execute the G command stored in com. More...
 
static void processMCode (GCode *com)
 Execute the G command stored in com. More...
 
static void executeGCode (GCode *com)
 Execute the command stored in com. More...
 
static void waitUntilEndOfAllMoves ()
 Waits until movement cache is empty. More...
 
static void waitUntilEndOfAllBuffers ()
 
static void printCurrentPosition ()
 
static void printTemperatures (bool showRaw=false)
 
static void setFanSpeed (int speed, bool immediately=false)
 
static void setFan2Speed (int speed)
 Set fan speed 0..255. More...
 
static void changeFeedrateMultiply (int factorInPercent)
 Set fan speed 0..255. More...
 
static void changeFlowrateMultiply (int factorInPercent)
 
static void reportPrinterUsage ()
 
static void emergencyStop ()
 
static void checkFreeMemory ()
 
static void writeLowestFreeRAM ()
 

Static Private Attributes

static int lowestRAMValue = MAX_RAM
 
static int lowestRAMValueSend = MAX_RAM
 

Member Function Documentation

◆ changeFeedrateMultiply()

void Commands::changeFeedrateMultiply ( int  factorInPercent)
static

Set fan speed 0..255.

◆ changeFlowrateMultiply()

void Commands::changeFlowrateMultiply ( int  factorInPercent)
static

◆ checkForPeriodicalActions()

void Commands::checkForPeriodicalActions ( bool  allowNewMoves)
static

◆ checkFreeMemory()

void Commands::checkFreeMemory ( )
static

◆ commandLoop()

void Commands::commandLoop ( )
static

◆ emergencyStop()

void Commands::emergencyStop ( )
static

◆ executeGCode()

void Commands::executeGCode ( GCode *  com)
static

Execute the command stored in com.

◆ printCurrentPosition()

void Commands::printCurrentPosition ( )
static

◆ printTemperatures()

void Commands::printTemperatures ( bool  showRaw = false)
static

◆ processArc()

void Commands::processArc ( GCode *  com)
static

Execute the Arc command stored in com.

◆ processGCode()

void Commands::processGCode ( GCode *  com)
static

Execute the G command stored in com.

◆ processMCode()

void Commands::processMCode ( GCode *  com)
static

Execute the G command stored in com.

◆ reportPrinterUsage()

void Commands::reportPrinterUsage ( )
static

◆ setFan2Speed()

void Commands::setFan2Speed ( int  speed)
static

Set fan speed 0..255.

◆ setFanSpeed()

void Commands::setFanSpeed ( int  speed,
bool  immediately = false 
)
static

◆ waitUntilEndOfAllBuffers()

void Commands::waitUntilEndOfAllBuffers ( )
static

◆ waitUntilEndOfAllMoves()

void Commands::waitUntilEndOfAllMoves ( )
static

Waits until movement cache is empty.

Some commands expect no movement, before they can execute. This function waits, until the steppers are stopped. In the meanwhile it buffers incoming commands and manages temperatures.

◆ writeLowestFreeRAM()

void Commands::writeLowestFreeRAM ( )
static

Member Data Documentation

◆ lowestRAMValue

int Commands::lowestRAMValue = MAX_RAM
staticprivate

◆ lowestRAMValueSend

int Commands::lowestRAMValueSend = MAX_RAM
staticprivate

The documentation for this class was generated from the following files: